<template>
  <div id="app">
    <!-- <div id="nav">
      <router-link to="/">Home</router-link>|
      <router-link to="/about">About</router-link>
    </div>-->
    <router-link to="/" class="interval">首页</router-link>
    <router-link to="/login" class="interval">登录页</router-link>
    <router-link to="/register" class="interval">注册页</router-link>
    <router-link to="/paymoney" class="interval">简易版群付款页</router-link>
    <router-link to="/compute" class="interval">计算属性使用</router-link>
    <router-link to="/showcar" class="interval">购物车案例</router-link>
    <router-link to="/father" class="interval">家谱案例</router-link>
    <router-view />
  </div>
</template>

<style lang="less">
/* // #app {
//   font-family: Avenir, Helvetica, Arial, sans-serif;
//   -webkit-font-smoothing: antialiased;
//   -moz-osx-font-smoothing: grayscale;
//   text-align: center;
//   color: #2c3e50;
// }

// #nav {
//   padding: 30px;

//   a {
//     font-weight: bold;
//     color: #2c3e50;

//     &.router-link-exact-active {
//       color: #42b983;
//     }
//   }
// } */
.interval {
  margin: 0 10px;
}
</style>
